﻿@model PagedList<Model.CompanyModel>
@using Webdiyer.WebControls.Mvc;

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Allcompany</title>
</head>
<body>

    <div class="container hbox">

        <h3 class="text-center">各大知名企业</h3>

        <div class="text-center">
            @using (Html.BeginForm("SrechCompany", "Text", FormMethod.Get))
            {

                <label>根据公司名称查找：</label>@Html.TextBox("CompanyName")
                <input type="submit" value="查询" />


            }



        </div>
        <div class="row">
            @foreach (var item in Model)
            {


                <div class="col-md-3 col-sm-6 highlight">
                    <div>
                        <div class="h-body text-center">
                            <h4><i><a title="公司介绍： @item.CompanyRemark2" href="#"><img src="@item.Companylog" width="80" height="80" /></a></i></h4>
                        </div>
                        <div class="h-body text-center">
                            <h4>@item.CompanyName</h4>
                        </div>
                        <div class="h-body text-center">
                            <a href="/Text/ShowExcelName/@item.CompanyId">点击查看面试题</a>
                          
                        </div>
                    </div>
                </div>
            }
        </div>
        <br />
        <br />
        <div class="container text-center">
            @Html.Pager(Model, new PagerOptions { PageIndexParameterName = "pageindex" })

        </div>
        <br />
        <br />
        <br />
        <br />

        <!-- /row  -->



    </div>
    <footer id="footer" class="navbar-fixed-bottom">

        <div class="footer1">
            <div class="container">
                <div class="row">
                    <div class="col-md-5 panel">
                        <h3 class="panel-title">要努力</h3>
                        <div class="panel-body">
                            <p>在别人肆意说你的时候，问问自己，到底怕不怕，输不输的起。不必害怕，不要后退，不须犹豫，难过的时候就一个人去看看这世界。多问问自己，你是不是已经为了梦想而竭尽全力了？</p>
                        </div>
                    </div>

                    <div class="col-md-4 panel contact">
                        <h3 class="panel-title">
                            座右铭
                        </h3>
                        <div class="panel-body">
                            <p>
                                天将降大任于是人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身，行拂乱其所为。
                                ——《孟子?告子下》
                            </p>

                        </div>
                    </div>

                    @*<div class="col-md-3 panel">    以后可以扩展留言板
                            <h3 class="panel-title">Follow me</h3>
                            <div class="panel-body">
                                <p class="follow-me-icons">
                                    <a href=""><i class="fa fa-twitter fa-2"></i></a>
                                    <a href=""><i class="fa fa-dribbble fa-2"></i></a>
                                    <a href=""><i class="fa fa-github fa-2"></i></a>
                                    <a href=""><i class="fa fa-facebook fa-2"></i></a>
                                    <a href=""><i class="fa fa-youtube fa-2"></i></a>
                                    <a href=""><i class="fa fa-pinterest fa-2"></i></a>
                                </p>
                            </div>
                        </div>*@

                </div>
                <!-- /row of panels -->
            </div>
        </div>

        <div class="footer2">
            <div class="container">
                <div class="row">

                    <div class="col-sm-6 panel">
                        <div class="panel-body">
                            <p class="text-right">
                                Copyright &copy; 2016.面试题库 All rights reserved.
                            </p>
                        </div>
                    </div>

                </div>
                <!-- /row of panels -->
            </div>
        </div>

    </footer>
</body>
</html>
